﻿//170223 

#include <iostream>
#include <uchar.h>
#include <typeinfo>
#include <climits>
#include <iomanip>

void review();
void practice4();
/*
int main()
{
	//review();
	//practice4();
}
*/

void review()
{
	using namespace std;
	auto i = 3 / 4 * 6;
	char32_t crat = U'\U00002155';
	short q = { 666 };
	unsigned int we = { 3000000000 };
	auto er = { 33L }; //long int
	auto et = { 3.3L }; //long double

	unsigned long lmax = ULLONG_MAX;
	long long max = LLONG_MAX;
	long long min = LLONG_MIN;
	unsigned long long Tmax = ULLONG_MAX;
//	string s = typeid(er).name();
	cout << crat << endl << typeid(er).name() << endl << typeid(et).name() << endl;
	cout << lmax << endl << max << endl << min << endl << sizeof max <<endl;
	return;
}

/*
void practice4()
{
	using namespace std;
	long long seconds;
	cout << "Enter the number of second of scecond ：________\b\b\b\b\b\b\b\b";
	cin >> seconds;
	const int DAY = { 60 * 60 * 24 };
//	cout << DAY << endl;
	const int HOUR = { 60 * 60 };
	const int MINUTE = { 60 };
	long long tmp;
	int day, hour, minute,seconds2;
	day = seconds / DAY;//auto improve
	tmp = seconds % DAY;
	hour = tmp / HOUR;
	tmp = tmp % HOUR;
	minute = tmp / MINUTE;
	seconds2 = tmp % MINUTE;
	cout << seconds << " seconds = "<< day <<" days, ";
	cout << hour << " hours, " << minute << " minutes, " << seconds2 << " seconds" << endl;

	//test format output
	double test = { 4.50492256 };
	cout << setprecision(6) << test << endl;
}
*/
